package com.zyp.command;


/**
 * 
 *	相当于client类，最终调用类
 */
public class TestCommand {

	public static void main(String[] args) {
		ICommand coma=new CommandA(new Receiver());
		Invoker i=new Invoker();
		i.setCommand(coma);
		i.executeCommand();
	}
	
}
